package com.cloud.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "mock")
public class MockConfig {
    /**
     * 是否打开
     */
    private boolean enable;

    /**
     * mock地址
     */
    private List<String> requestUrls;
}
